<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User;

class Teacher extends User
{
    //
    //引入软删除
       use SoftDeletes;
    //    // 软删除标识
    protected $dates=['deleted_at'];
    //拒绝不添加的字段 create生效
    protected $guarded=[];
}
